<?php
namespace Home\Controller;
/**
 * 交易记录详情
 * @author Administrator
 *
 */
class DomainTransdetailController extends HomeBaseController
{
    public function index(){
        $arry=array('uid' => session('uid'),'duration'=>I('post.duration'),'duration'=>I('post.duration'));
        $count = D('DomainTransdetail')->getCount($arry);
        $list = D('DomainTransdetail')->getList($arry); 
        $this->assign('list', $list);
        $this->assign('count', $count);
        $this->display('domainTransdetail/index');
    }
    
    public function getDomainTypeList(){
        $list = M('domain_type')->select();
        $this->assign('list', $list);
        $this->ajaxReturn($this,"JSON");
    }
    
    
}